package ynu.edu.elmspringboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ynu.edu.elmspringboot.mapper.BusinessMapper;
import ynu.edu.elmspringboot.po.Business;
import ynu.edu.elmspringboot.service.BusinessService;

import java.util.List;

@Service
public class BusinessServiceImpl extends ServiceImpl<BusinessMapper, Business> implements BusinessService {
    @Autowired
    private BusinessMapper businessMapper;
    @Override
    public List<Business> slectBusinessByOrderTypeId(Integer orderTypeId) {
        return this.getBaseMapper().slectBusinessByOrderTypeId(orderTypeId);
    }

}
